package com.dmyang.dao;

import com.dmyang.entity.HyMessage;
import com.dmyang.entity.HyMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HyMessageMapper {
    int countByExample(HyMessageExample example);

    int deleteByExample(HyMessageExample example);

    int deleteByPrimaryKey(Integer messageId);

    int insert(HyMessage record);

    int insertSelective(HyMessage record);

    List<HyMessage> selectByExample(HyMessageExample example);

    HyMessage selectByPrimaryKey(Integer messageId);

    int updateByExampleSelective(@Param("record") HyMessage record, @Param("example") HyMessageExample example);

    int updateByExample(@Param("record") HyMessage record, @Param("example") HyMessageExample example);

    int updateByPrimaryKeySelective(HyMessage record);

    int updateByPrimaryKey(HyMessage record);
}